
flag = 5
while flag > 0:
    print(flag, end = ' ')
    flag -= 1
    if flag == 2:
        break